package com.hn658.base.message.notification.msg.dto;

/**
 * 聊天记录查询dto
 *
 */
public class MsgQueryDTO {
	/**
	 * 应用id
	 */
	private String appId;
	
	/**
	 * 查询群id
	 */
	private Long toGroupId;
	
	/**
	 * 聊天对象用户id
	 */
	private String toUid;
	
	/**
	 * 查询对象id
	 */
	private String fromUid;
	
	/**
	 * 起始位置	默认起始0
	 */
	private Integer start=0;
	
	/**
	 * 分页大小    	默认大小10
	 */
	private int pageSize=10;
	
	/**
	 * 排序字段 	默认为创建时间
	 */
	private String orderBy="createTime";
	
	/**
	 * 是否升序	默认降序
	 */
	private boolean isAsc=false;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Long getToGroupId() {
		return toGroupId;
	}

	public void setToGroupId(Long toGroupId) {
		this.toGroupId = toGroupId;
	}

	public String getToUid() {
		return toUid;
	}

	public void setToUid(String toUid) {
		this.toUid = toUid;
	}

	public String getFromUid() {
		return fromUid;
	}

	public void setFromUid(String fromUid) {
		this.fromUid = fromUid;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}
	
	
}
